Ic card, ic card system, and data processor

ABSTRACT

When a communication is made in one direction with a single end signal, it is supplied from a transmitter  5  to a receiver  6  through a dumping resistor R 1 //R 2 . When a communication is made in another direction with a single end signal, it is supplied from a transmitter  8  to a receiver  7  through the dumping resistor R 1 //R 2 . At that point, differential signal transmitters  9  and  12  and differential signal receivers  10  and  11  are disabled so that the communication path of the differential signal becomes a high impedance state. When a communication is made in one direction with a differential signal, it is supplied from the transmitter  9  to the receiver  10  through a termination resistor R 1 . When a communication is made in another direction with a differential signal, it is supplied from the transmitter  12  to the receiver  11  through a termination resistor R 2 . At that point, the single end signal transmitters  5  and  8  and the single end signal receivers  6  and  7  are disabled so that the communication path of the single end signal becomes a high impedance state.

TECHNICAL FIELD

[0001] The present invention relates to an IC card that is removable and that allows both a single end signal and a differential signal to co-exist, an IC card system therewith, and a data processing apparatus therewith.

BACKGROUND ART

[0002] As an interface for a data processing apparatus and an IC card, a structure that uses a single end signal and a structure that uses a low amplitude differential signal are available. The single end signal is a signal having for example a TTL level (for example, 3.3 V). The differential signal is a signal having a level of for example ±200 mV. When a single end signal is used, the number of lines required therefor is the half of that for a differential signal. Thus, the number of signal lines does not increase, a single end signal has been widely used. On the other hand, when a differential signal is used, since the signal level is low, the power consumption can be decreased. In addition, as an advantage of a differential signal, it is not affected by noise.

[0003] When a conventional IC card is provided with an interface that uses a single end signal, if an interface that uses a differential signal is added to the IC card, it is desired to perform transmissions of both the single end signal and the differential signal so as to maintain the compatibility of the conventional IC card and the data processing apparatus. Normally, since the level of a single end signal is largely different from the level of a differential signal, different signal lines are used for their interfaces.

[0004] However, in the limited space of the IC card or the like, the number of signal lines cannot be easily increased. To solve such a problem, a structure that transmits and receives a single end signal using one of the signal lines for the differential signal may be considered. When such a structure, which transmits and receives a single end signal using only one of the differential signal lines is used, stray capacitances of a single end signal transmitter or a single end signal receiver may cause the differential signal lines to be an unbalanced state. In addition, when a communication is made with a single end signal at high speed, a dumping resistor should be disposed in series with the signal lines so as to prevent the single end signal from overshooting or undershooting. In addition, a termination resistor should be disposed in parallel with the signal lines of a differential signal. Thus, when an interface that uses these two types of signals is structured, the number of parts adversely increases.

[0005] Therefore, an object of the present invention is to provide a data processing apparatus, an IC card, and an IC card system that allow differential signal lines to be in a balanced state and that prevent the number of parts from being adversely increased.

DISCLOSURE OF THE INVENTION

[0006] To solve the forgoing problem, the invention of claim 1 is an IC card that is removable from a data processing apparatus, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the IC card and the data processing apparatus, a part of signal lines routed between the IC card and the data processing apparatus being shared by the first transmitting method and the second transmitting method.

[0007] The invention of claim 4 is an IC card system having a data processing apparatus and an IC card that is removable therefrom, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the IC card and the data processing apparatus, a part of signal lines routed between the IC card and the data processing apparatus being shared by the first transmitting method and the second transmitting method.

[0008] The invention of claim 6 is a data processing apparatus that uses an IC card that is removable therefrom, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the data processing apparatus and the IC card, a part of signal lines routed between the data processing apparatus and the IC card being shared by the first transmitting method and the second transmitting method.

[0009] According to the present invention, since signal lines for a differential signal and a single end signal are shared, the number of signal lines can be prevented from increasing. In addition, since a termination resistor for a differential signal is shared with a dumping resistor for a single end signal, the number of parts can be decreased.

BRIEF DESCRIPTION OF DRAWINGS

[0010]FIG. 1 is a block diagram showing the structure of a data processing apparatus and an IC card according to an embodiment of the present invention;

[0011]FIG. 2 is a timing chart of data that is transmitted and received between the data processing apparatus and the IC card;

[0012]FIG. 3 is a timing chart of data that is transmitted and received between the data processing apparatus and the IC card;

[0013]FIG. 4 is a perspective view showing an example of the shape of the IC card according to an embodiment of the present invention;

[0014]FIG. 5 is a schematic diagram showing the IC CARD viewed from H direction of FIG. 4;

[0015]FIG. 6 is a schematic diagram showing the IC CARD viewed from I direction of FIG. 4;

[0016]FIG. 7 is a diagram showing connections of a structure of a one-way communication interface according to an embodiment of the present invention;

[0017]FIG. 8 is a diagram showing connections of a structure of a two-way communication interface according to another embodiment of the present invention;

[0018]FIG. 9 is a diagram showing connections of a structure of a two-way communication interface according to a further embodiment of the present invention;

[0019]FIG. 10 is a flow chart showing an example of a method for detecting an interface system of an IC card; and

[0020]FIG. 11 is a flow chart showing an example of another method for detecting an interface system of an IC card.

BEST MODES FOR CARRYING OUT THE INVENTION

[0021] Next, with reference to the accompanying drawings, an embodiment of the present invention will be described. First of all, an example of an IC card (memory device) according to an embodiment of the present invention will be described.

[0022]FIG. 1 shows the structure of a system composed of a data processing apparatus 21 and an IC card 26. The data processing apparatus 21 comprises a data processing portion 22, a register 23, a host side serial interface circuit 24, and a host side controller 25. On the other hand, the IC card 26 is a card-shaped storage medium. The IC card 26 is used as an external storage device that is connected to the data processing apparatus 21. The IC card 26 comprises a memory 27, a register 28, a card side serial interface circuit 29, and a card side controller 30.

[0023] The data processing portion 22 of the data processing apparatus 21 reads stored data from the IC card 26 and performs a variety of data processes. In addition, the data processing portion 22 performs a variety of data processes and generates data to be written to the IC card 26. In other words, the data processing portion 22 is a data processing circuit of a computer, a recording/reproducing device for a digital audio signal, or an audio visual device such as a camera that uses the IC card 26.

[0024] The register 23 is a buffer disposed between the data processing portion 22 and the host side serial interface circuit 24. In other words, when data is supplied from the data processing portion 22 to the host side serial interface circuit 24, the data processing apparatus 21 temporarily stores the data to the register 23 and then supplies the data to the host side serial interface circuit 24. Likewise, when data is supplied from the host side serial interface circuit 24 to the data processing portion 22, the data processing apparatus 21 temporarily stores the data to the register 23 and then supplies the data to the data processing portion 22.

[0025] The host side serial interface circuit 24 converts the data supplied from the data processing portion 22 through the register 23 and a command supplied from the host side controller 25 into a serial signal and supplies the serial signal to the IC card 26. In addition, the host side serial interface circuit 24 converts data and command of the serial signal supplied from the IC card 26 into parallel signals and supplies the parallel signals to the data processing portion 22 and the host side controller 25.

[0026] The host side serial interface circuit 24 supplies a synchronous signal (CLK) and so forth for various types of data and a command to the IC card 26. The host side serial interface circuit 24 receives a status signal from the IC card 26. The status signal represents an operating state of the IC card 26.

[0027] The host side controller 25 controls a data processing operation of the data processing portion 22 and a data transmitting operation for each type of data of the host side serial interface circuit 24. In addition, the host side controller 25 supplies a control command to the IC card 26 through the register 28 so as to control the IC card 26.

[0028] On the other hand, the memory 27 of the IC card 26 is composed of for example a flash memory. The memory 27 stores data supplied from the data processing portion 22.

[0029] The register 28 is a buffer disposed between the memory 27 and the card side serial interface circuit 29. In other words, when data supplied from the data processing apparatus 21 is written to the memory 27, the data is temporarily stored to the register 23 and then supplied to the memory 27. Likewise, when data is read to the data processing apparatus 21 from the memory 27, the data is temporarily stored to the register 23 and then supplied to the card side serial interface circuit 29. In other words, the register 28 is a circuit that functions as a so-called page buffer of the flash memory.

[0030] The card side serial interface circuit 29 converts data of a parallel signal supplied from the memory 27 and a command supplied from the card side controller 30 into a serial signal and supplies the serial signal to the data processing apparatus 21 under the control of the card side controller 30. In addition, the card side serial interface circuit 29 converts data of a serial signal and a command supplied from the data processing apparatus 21 into parallel signals and supplies the parallel signals to the memory 27 and the card side controller 30.

[0031] In addition, the card side serial interface circuit 29 receives a synchronous signal (CLK) for each type of data and a command from the data processing apparatus 21. Moreover, the card side serial interface circuit 29 supplies a status signal to the data processing apparatus 21.

[0032] The card side controller 30 controls a storing operation, a reading operation, an erasing operation, an so forth for data of the memory 27 corresponding to a command or the like supplied from the data processing apparatus 21. In addition, the card side controller 30 controls a transmitting operation of the card side serial interface circuit 29 for each type of data. On the other hand, the host side controller 25 controls an operation for supplying a status signal supplied to the IC card 26.

[0033] Data is transmitted between the data processing apparatus 21 and the IC card 26 through a transmission line disposed between the host side serial interface circuit 24 and the card side serial interface circuit 29.

[0034] Three signal lines that are a CLK line 31, a control line 32, and a DT line 33 are routed between the host side serial interface circuit 24 of the data processing apparatus 21 and the card side serial interface circuit 29 of the IC card 26.

[0035] Main data that is processed by the data processing portion 22 and written to the memory 27 and data that is read from the memory 27 to the data processing portion 22 are transmitted through the DT line 33. In addition, a control command that is supplied from the data processing apparatus 21 to the IC card 26 and a command that is supplied from the IC card 26 to the data processing apparatus 21 are transmitted through the DT line 33. In other words, main data and commands are transmitted in two ways (bi-directionally) through the DT line 33.

[0036] A resistor 33 a is connected between the DT line 33 and the ground. The resistor 33 a is a so-called pull down resistor. When no signal is transmitted and received between the host side serial interface circuit 24 and the card side serial interface circuit 29 through the DT line 33, the signal level of the DT line 33 is low. In other words, when no signal is transmitted and received through the DT line 33, the signal level of the DT line 33 is in a fixed level that depends on the resistance of the resistor 33 a or the like.

[0037] In the example, the resistor 33 a is a so-called pull down resistor. When no signal is not transmitted and received through the DT line 33, the signal level of the DT line 33 is low. Alternatively, the resistor 33 a may be a so-called pull up resistor. When no signal is transmitted and received through the DT line 33, the signal level of the DT line 33 may be high.

[0038] A synchronous signal for main data and a command that are transmitted through the DT line 33 is transmitted from the data processing apparatus 21 to the IC card 26 through the CLK line 31.

[0039] A control signal is transmitted from the data processing apparatus 21 to the IC card 26 through the control line 32. While the control signal is being supplied (namely, while the signal level of the control line 32 is high), the forgoing main data and command are transmitted.

[0040] In addition to the main data and command, a status signal that represents the operating state of the IC card 26 is supplied from the IC card 26 to the data processing apparatus 21 through the DT line 33. While main data and a command are not being supplied through the DT line 33 (namely, while a control signal is not being supplied: the signal level of the DT line 33 is low), the status signal is supplied from the IC card 26.

[0041] The status signal includes a busy signal that represents that the IC card 26 is not performing a process. While the IC card 26 is performing a writing process, when the IC card 26 prohibits the data processing apparatus 21 from accessing it, the busy signal is supplied from the IC card 26 to the data processing apparatus 21. The status signal also includes an interrupt signal that represents an interrupt supplied from the IC card 26 to the data processing apparatus 21. When the IC card 26 requests the data processing apparatus 21 for an interrupt, the IC card 26 supplies the interrupt signal to the data processing apparatus 21. The busy signal and the interrupt signal are just examples of the status signal. As long as the status signal is a signal that represents the operating state of the IC card 26, the status signal may be any signal.

[0042]FIG. 2 shows a timing chart for which data is read from the IC card 26. In other than state 0 (initial state), a clock that synchronizes with data is transmitted through the CLK line 31. While any data is not being transmitted and received between the data processing apparatus 21 and the IC card 26, the signal level of the control line 32 is low. This state is referred to as state 0 (initial state). At timing t31, the data processing apparatus 21 causes the signal level of the control line 32 to be high. This state is referred to as state 1.

[0043] When the signal level of the control line 32 becomes high, the IC card 26 detects that state 0 has been changed to state 1. In state 1, a read command is transmitted from the data processing apparatus 21 to the IC card 26 through the DT line 33. The IC card 26 receives the read command. The read command is a protocol command referred to as serial interface TPC. As will be described later, the protocol command designates the content of the communication and the length of data that follows.

[0044] After the command has been transmitted, the signal level of the control line 32 is changed from high to low at timing t32. As a result, state 1 is changed to state 2. In state 2, the IC card 26 performs a process designated by the received command. In reality, the IC card 26 performs a process for reading data of an address designated by the read command from the memory 27. While this process is being performed, the busy signal is transmitted to the data processing apparatus 21 through the DT line 33 (the signal level of the DT line 33 is high).

[0045] After the data has been read from the memory 27, the output of the busy signal is stopped and then the output of the ready signal that represents that the IC card 26 is ready to transmit data to the data processing apparatus 21 is started at timing t33 (the signal level of the DT line 33 is low).

[0046] When the data processing apparatus 21 receives the ready signal from the IC card 26, the data processing apparatus 21 knows that the IC card 26 is ready to perform the process corresponding to the read command. The data processing apparatus 21 causes the signal level of the control line 32 to be high at timing t34. In other words, state 2 is changed to state 3.

[0047] In state 3, the IC card 26 outputs data that has been read to the register 28 in state 2 to the data processing apparatus 21 through the DT line 33. After the read data has been transmitted to the data processing apparatus 21, it stops transmitting the clock to the IC card 26 through the CLK line 31 at timing t35. In addition, the data processing apparatus 21 causes the signal level of the status line to be changed from high to low. As a result, state 3 is changed to initial state (state 0).

[0048] Assuming that when the internal state of the IC card 26 has been changed, a particular interrupting process is required. At that point, the IC card 26 supplies the interrupt signal to the data processing apparatus through the DT line 33 in state 0 at timing t36. When the data processing apparatus 21 receives a signal from the IC card 26 through the DT line 33 in state 0, the data processing apparatus 21 can recognize the received signal as the interrupt signal. When the data processing apparatus 21 has received the interrupt signal, the data processing apparatus 21 performs a required process corresponding to the interrupt signal.

[0049]FIG. 3 is a timing chart for which data is written to the memory 27 of the IC card 26. In initial state (state 0), the clock is not transmitted through the CLK line 31. The data processing apparatus 21 causes the signal level of the control line 32 to be changed form low level to high level at timing t41. As a result, state 0 is changed to state 1. In state 1, a write command is transmitted through the DT line 33. The IC card 26 is ready to receive the command in state 1. The command is transmitted to the IC card 26 through the DT line 33 at timing t41. The IC card 26 receives the write command.

[0050] After the write command has been transmitted, the data processing apparatus 21 causes the signal level of the control line 32 to be changed from high to low at timing t42. As a result, state 1 is changed to state 2. The data processing apparatus 21 transmits write data to the IC card 26 through the DT line 33 in state 2. The IC card 26 stores the received write data to the register 28.

[0051] After the write data has been transmitted, the data processing apparatus 21 causes the signal level of the control line 32 to be changed from low to high at timing t43. As a result, state 2 is changed to state 3. The IC card 26 writes the write data to the memory 27 in state 3. The IC card 26 transmits a busy signal to the data processing apparatus 21 through the DT line 33 in state 3 (the signal level of the DT line 33 is high). The data processing apparatus 21 transmits a write command to the IC card 26. Since the current state is state 3, the data processing apparatus 21 determines that a signal received from the IC card 26 is a status signal.

[0052] After the data writing process has been completed, the IC card 26 stops outputting the busy signal and transmits a ready signal to the data processing apparatus 21 at timing t44 (the signal level of the DT line 33 is low). When the data processing apparatus 21 receives the ready signal, the data processing apparatus 21 determines that the writing process corresponding to the write command has been completed. As a result, the data processing apparatus 21 stops transmitting the clock signal. The data processing apparatus 21 causes the signal level of the control line 32 from high to low at timing t45. As a result, state 3 is returned to state 0 (initial state).

[0053] When the data processing apparatus 21 has received a high level signal from the IC card 26 through the DT line 33 in state 0, the data processing apparatus 21 recognizes the received signal as an interrupt signal. The data processing apparatus 21 performs a required process corresponding to the received interrupt signal. For example, when IC card 26 is removed from the data processing apparatus 21, the IC card 26 generates the interrupt signal.

[0054] As well as the forgoing reading operation and writing operation, a command is transmitted in state 1 and then data corresponding to the command is transmitted in state 2.

[0055]FIG. 4 shows an appearance of the forgoing IC card. FIG. 5 shows the IC card 41 viewed from H direction of FIG. 4. FIG. 6 shows the IC card 41 viewed from I direction of FIG. 4. The IC card 41 has a nearly rectangular plane. The IC card 41 has two elongated sides that are a first side 42 and a second side 43. The first side 42 has two end portions in which mounting notch portions 44 a and 44 b are formed. As shown in FIG. 5, the second side 43 parallels the first side 42. Likewise, the second side 43 has two end portions in which mounting notch portions 44 c and 44 d are formed.

[0056] The present invention is applied to an interface between the forgoing removable IC card and data processing apparatus. FIG. 7 shows the structure according to an embodiment of the present invention. The embodiment is applied to for example the control line 32 shown in FIG. 1 and has a structure of a one-way communicating circuit for a single end signal and a differential signal. In FIG. 7, reference numeral 1 represents a single end signal transmitter. Reference numeral 2 represents a single end signal receiver. Reference numeral 3 represents a differential signal transmitter. Reference numeral 4 represents a differential signal receiver. R represents a differential signal termination resistor. The differential signal termination resistor R is also used as a dumping resistor that prevents a single end signal that is transmitted and received at high speed from overshooting or undershooting.

[0057] When a communication is made with a single end signal, it is supplied from the single end signal transmitter 1 to the single end signal receiver 2 through the dumping resistor R. At that point, the differential signal transmitter 3 and the differential signal receiver 4 are disabled so that the communication path for the differential signal becomes a high impedance state.

[0058] When a communication is made with a differential signal, it is supplied from the differential signal transmitter 3 to the differential signal receiver 4 through the termination resistor R. At that point, the single end signal transmitter 1 and the single end signal receiver 2 are disabled so that the communication path of the single end signal becomes high impedance state.

[0059]FIG. 8 shows the structure of another embodiment of the present invention. The embodiment shown in FIG. 8 has the structure of a two-way communicating circuit for a single end signal and a differential signal applicable to the DT line 33 shown in FIG. 1. In FIG. 8, reference numerals 5 and 8 represent single end signal transmitters. Reference numerals 6 and 7 represent single end signal receivers. Reference numerals 9 and 12 represent differential signal transmitters. Reference numerals 10 and 11 represent differential signal receivers. R1 and R2 represent differential signal termination resistors. The differential signal termination resistors R1 and R2 are also used in parallel as a single end signal dumping resistor R1//R2.

[0060] When a communication is made in one direction with a single end signal, it is supplied from the single end signal transmitter 5 to the single end signal receiver 6 through the dumping resistor R1//R2. When a communication is made in the other direction with a single end signal, it is supplied from the single end signal transmitter 8 to the single end signal receiver 7 through the dumping resistor R1//R2. At that point, the differential signal transmitters 9 and 12 and the differential signal receivers 10 and 11 are disabled so that the communication path of the differential signal becomes a high impedance state.

[0061] When a communication is made in one direction with a differential signal, it is supplied from the differential signal transmitter 9 to the differential signal receiver 10 through the termination resistor R1. When a communication is made in the other direction with a differential signal, it is supplied from the differential signal transmitter 12 to the differential signal receiver 11 through the termination resistor R2. At that point, the single end signal transmitters 5 and 8 and the single end signal receivers 6 and 7 are disabled so that the communication path of the single end signal becomes a high impedance state.

[0062]FIG. 9 shows the structure of a two-way communicating circuit according to another embodiment of the present invention. In FIG. 9, reference numerals 13 and 16 represent single end signal transmitters. Reference numerals 14 and 15 represent single end signal receivers. Reference numerals 17 and 20 represent differential signal transmitters. Reference numerals 18 and 19 represent differential signal receivers. R3 and R4 represent differential signal termination resistors. In addition, the differential signal termination resistors R3 and R4 may be also used in parallel as a single end signal dumping resistor R3//R4.

[0063] When a communication is made in one direction with a single end signal, it is supplied from the single end signal transmitter 13 to the single end signal receiver 14 through the dumping resistor R3//R4. When a communication is made in the other direction with a single end signal, it is supplied from the single end signal transmitter 16 to the single end signal receiver 15 through the dumping resistor R3//R4. At that point, the differential signal transmitters 17 and 20 and the differential signal receivers 18 and 19 are disabled so that the communication path of the differential signal becomes a high impedance state.

[0064] When a communication is made in one direction with a differential signal, it is supplied from the differential signal transmitter 17 to the differential signal receiver 18 through the termination resistor R3. When a communication is made in the other direction with a differential signal, it is supplied from the differential signal transmitter 20 to the differential signal receiver 19 through the termination resistor R4. At that point, the single end signal transmitters 13 and 16 and the single end signal receivers 14 and 15 are disabled so that the communication path of the single end signal becomes a high impedance state.

[0065] As was described above, the IC card according to the present invention can be operated with the first transmitting method using a differential signal and the second transmitting method using a single end signal. In contrast, conventional IC cards are provided with one of those interfaces. An interface using a single end signal is referred to as conventional interface. On the other hand, an interface using a differential signal is referred to as new interface. FIG. 10 and FIG. 11 show examples of a process that a new type data processing apparatus (apparatus that uses an IC card) that can be operated with both the conventional interface and the new interface detects the interface of the IC card inserted thereinto.

[0066] In FIG. 10, a value of an interface mode is set to a non-volatile memory such as a ferroelectric memory disposed in a controller of the IC card. The interface mode is a code for example a one-bit flag. When the power of the data processing apparatus is turned on, the process gets started. At step S1, the IC card is operated with the conventional interface. This is because the conventional interface allows the IC card to securely communicate with the data processing apparatus regardless of whether the IC card is a new IC card or an old IC card.

[0067] At step S2, the data processing apparatus reads attribute data from a boot area of the IC card. At step S3, the data processing apparatus determines whether or not the inserted IC card that has been inserted into the data processing apparatus is provided with the new interface. When the IC card is provided with the conventional interface, the flow advances to step S4. At step S4, the IC card is operated with the conventional interface. The operation includes a reset operation. At step S5, when the IC card is removed from the data processing apparatus or reinserted thereinto, the flow returns to step S1 (the IC card is operated with the conventional interface).

[0068] When the determined result at step S3 represents that the IC card is provided with the new interface, the flow advances to step S6. At step S6, a value of the new interface is set to the non-volatile memory of the controller of the IC card. At step S7, a reset command is transmitted. At step S8, the operation of the IC card is switched from the conventional interface to the new interface. The new interface operation includes a reset operation. At step S9, a value of the conventional interface is set to the non-volatile memory. When the IC card is removed from the data processing apparatus or reinserted thereinto at step S5, the flow returns to step S1 (the IC card is operated with the conventional interface). At steps S8 and S9, the IC card is operated with the new interface.

[0069]FIG. 11 is a flow chart showing another example of the interface detecting process for the IC card. When the power of the data processing apparatus is turned on, the process gets started. At step S11, the IC card is operated with the conventional interface. At step S12, the data processing apparatus reads attribute data from the boot area of the IC card. At step S13, the data processing apparatus determines whether or not the IC card is provided with the new interface. When the IC card is provided with the conventional interface, the flow advances to step S14. At step S14, the IC card is operated with the conventional interface. The operation includes a reset operation. When the IC card is removed from the data processing apparatus or reinserted thereinto at step S15, the flow returns to step S11 (the IC card is operated with the conventional interface).

[0070] When the determined result at step S13 represents that the IC card is provided with the new interface, the flow advances to step S16. At step S16, the data processing apparatus transmits a reset command to the IC card. The reset command causes the value written in the non-volatile memory to be changed from the value of the conventional interface to the value of the new interface. As a result, the operation of the conventional interface of the IC card is switched to the operation of the new interface (at step S17). When the IC card is removed from the data processing apparatus or reinserted thereinto at step S15, the flow returns to step S11 (the IC card is operated with the conventional interface).

[0071] It should be noted that the present invention is not limited to the forgoing embodiments. Instead, without departing from the scope and spirit of the present invention, various ramifications and modifications of the forgoing embodiments are available.

[0072] According to the present invention, since a signal line is shared by a differential signal and a single end signal, the number of signal lines can be prevented from increasing. In addition, since a resistor is shared by a differential signal termination resistor and a single end signal dumping resistor, the number of parts can be decreased.

[0073] When a communication is made with a single end signal, a differential signal transmitter and a differential signal receiver are disabled so that the communication path of the differential signal becomes a high impedance state. When a communication is made with a differential signal, a single end signal transmitter and a single end signal receiver are disabled so that the communication path of the single end signal becomes a high impedance state. As a result, when the transmission path is short, the differential signal can be kept in a balanced state. When the transmission path is long and thereby a balanced state should be kept, the capacitance to be added corresponding to a dummy transmitter and a dummy receiver can be reduced. 

1. An IC card that is removable from a data processing apparatus, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the IC card and the data processing apparatus, a part of signal lines routed between the IC card and the data processing apparatus being shared by the first transmitting method and the second transmitting method.
 2. The IC card as set forth in claim 1, wherein attribute information that represents that one of the first transmitting method and the second transmitting method is selectable has been recorded.
 3. The IC card as set forth in claim 1, wherein a termination resistor for the differential signal used in the first transmitting method is shared by a dumping resistor that prevents the single end signal used in the second transmitting method that is operated at high speed from overshooting or undershooting.
 4. An IC card system having a data processing apparatus and an IC card that is removable therefrom, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the IC card and the data processing apparatus, a part of signal lines routed between the IC card and the data processing apparatus being shared by the first transmitting method and the second transmitting method.
 5. The IC card system as set forth in claim 4, wherein a termination resistor for the differential signal used in the first transmitting method is shared by a dumping resistor that prevents the single end signal used in the second transmitting method that is operated at high speed from overshooting or undershooting.
 6. A data processing apparatus that uses an IC card that is removable therefrom, one of a first transmitting method using a differential signal and a second transmitting method using a single end signal being selectable as a transmitting method for transmitting a signal between the data processing apparatus and the IC card, a part of signal lines routed between the data processing apparatus and the IC card being shared by the first transmitting method and the second transmitting method.
 7. The data processing apparatus as set forth in claim 6, wherein when the IC card is inserted into the data processing apparatus, attribute information of the IC card is read so as to determine whether the inserted IC card can select the first transmitting method or the second transmitting method and communicate with the IC card in the determined transmitting method of the first transmitting method and the second transmitting method. 